Cocktail Mobile App with Ionic and Vue 3 - Part 2 Drinks By Ingredient

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

Комментарии • 8

  • @ihsanmohamad521
    @ihsanmohamad521 4 года назад +1

    nice, subscribed 👍🏽

  • @rizkhal
    @rizkhal 4 года назад +1

    Great man

  • @CarlosMartinezTech
    @CarlosMartinezTech 4 года назад

    Can you please show how to use methods of some ionic componentes in VueJS 3 as an example ion-search the method setFocus Thanks.

    • @DiligentDev
      @DiligentDev  4 года назад

      Sure, I can do that in the refactor video.

  • @BenHayat
    @BenHayat 4 года назад

    Rob, I don't know much about Composition API, but does using Composition API minimizes the use of Vuex, or they both can/should be used together?
    Secondly, Ionic does not offer data table to display data in grid format, as it is used heavily on LoB apps. What would you do if you were to chose Ionic? If choosing third party JS data grid, then you lose the theming and Vue 3 native integration.

    • @DiligentDev
      @DiligentDev  4 года назад

      The composition API and Vuex can be used together, but for a mobile app, there may not be a need. You can read this for more info: blog.codecourse.com/using-vuex-with-the-vue-composition-api/
      Ionic is html based, so you can make your own html table component. It wouldn't take too long and you could style it so it would look seamless with the rest of your app. You don't see may apps that use a table, so that's probably why the Ionic team hasn't implemented one.

    • @BenHayat
      @BenHayat 4 года назад

      @@DiligentDev
      I'm not talking about html table. I'm talking about data table or data grid that business apps use for showing lots of tabular data, paging, sorting, direct editing, like this
      vuetifyjs.com/en/components/data-tables/

    • @DiligentDev
      @DiligentDev  4 года назад

      ​@@BenHayat The Vuetify DataTable is just a pre-made HTML table. Just go to their docs, open the dev tools on that page, and look at the code. I know it saves you a ton of time by not having to code it yourself. I'm just saying you can make your own datatable for ionic if you really needed it. You may even be able to use an existing package such as Vuetify if you can manage to port it.
      You may want to check out Quasar - quasar.dev/. I'll be shooting a video over it in a few weeks. It uses the same technology to access native device features.